package com.woniuxy.service;

import com.woniuxy.entity.Comment;

import java.util.List;

public interface CommentService {
    void add(Comment comment);

    Integer count(Integer userId);

    Integer findCommentOriginIdById(Integer pid);

    List<Comment> buildTree(List<Comment> group, Integer id);


    void deleteCommentById(Comment comment);
}
